$f: 19.2;

body [aos] {
  -webkit-transition-duration: 2.5s;
  transition-duration: 2.5s;
  -webkit-transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
  transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
}


.header {
  position: fixed;
  left: 0;
  top: 42/$f+vw;
  width: 100%;
  z-index: 100;
  transition: all 600ms;
  padding: 0 170/$f+vw;
  transition: all 600ms;

  .box {
    border-radius: 52/$f+vw;
    background: #FFF;
    padding: 16/$f+vw 25/$f+vw 16/$f+vw 43/$f+vw;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .l {
      display: flex;
      align-items: center;

      .want {
        border-radius: 52/$f+vw;
        background: #ECECEC;
        width: 99/$f+vw;
        height: 30/$f+vw;
        margin-left: 15/$f+vw;
        font-size: 16/$f+vw;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        text-transform: capitalize;
        transition: all 600ms;
        &:hover{
          background: #000;
          color:white;
        }
      }
    }


    .logo {
      position: relative;
      z-index: 10;

      img {
        width: 86/$f+vw;
        display: block;
      }
    }

    .links {
      a {
        color: #000;
        font-size: 32/$f+vw;
        font-weight: 600;
        margin: 0 67/$f+vw;
        text-transform: capitalize;
      }
    }

    .r {
      display: flex;

      a {
        padding: 11/$f+vw 32/$f+vw 12/$f+vw 32/$f+vw;
        border-radius: 52/$f+vw;
        background: #ECECEC;
        color: #000;
        font-weight: 600;
        text-transform: capitalize;
        font-size: 18/$f+vw;
        margin-left: 12/$f+vw;
      }

      .bg_btn {
        background: #2932E1;
        color: white;
        transition: all 600ms;

        &:hover {
          background: #000;
        }
      }
    }
  }
}



.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    .l{
      display: flex;
      align-items: center;
      a {
        margin-left: 20px;
        // transform: translateY(2px);
  
        img {
          height: 40px;
          object-fit: contain;
        }
      }
      .want {
        border-radius: 52px;
        background: #ECECEC;
        width: 99px;
        height: 30px;
        margin-left: 15px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        text-transform: capitalize;
        transition: all 600ms;
        &:hover{
          background: #000;
          color:white;
        }
      }
    }



    .navbox {
      margin-right: 20px;
      transition: all 600ms;

      .line {
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      transform: translateX(10px);

      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        // width: 100%;
        display: block;
      }

      img {
        width: 30px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.foot {
  border-radius: 100/$f+vw 100/$f+vw 0px 0px;
  background: #333;
  padding: 60/$f+vw 170/$f+vw 53/$f+vw 170/$f+vw;
  position: relative;

  .bg {
    position: absolute;
    right: 195/$f+vw;
    bottom: 0;
    width: 700/$f+vw;
    pointer-events: none;

    img {
      width: 100%;
      display: block;
    }
  }

  .dom1 {
    display: flex;
    margin-bottom: 117/$f+vw;

    .l {
      .pic {
        margin-top: 30/$f+vw;

        img {
          width: 133/$f+vw;
          display: block;
        }
      }

      .des {
        color: #FFF;
        font-size: 18/$f+vw;
        margin-top: 120/$f+vw;

        p {
          margin-bottom: 14/$f+vw;
        }
      }
    }

    .r {
      display: flex;
      margin-left: 166/$f+vw;

      .item {
        &:not(:last-child) {
          margin-right: 94/$f+vw;
        }

        a {
          display: block;
          color: #FFF;
          font-size: 18/$f+vw;
          text-transform: capitalize;

          &:not(:last-child) {
            margin-bottom: 40/$f+vw;
          }
        }
      }
    }
  }

  .dom2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 109/$f+vw;

    .l {
      color: #FFF;
      font-size: 18/$f+vw;
      text-transform: capitalize;
    }

    #goTop {
      width: 42/$f+vw;
      height: 42/$f+vw;
      background: rgba(0, 0, 0, .2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      margin-right: 160/$f+vw;
      position: relative;

      svg {
        display: block;
        position: relative;
        z-index: 1;
        margin-left: -1px;
        width: 25/$f+vw;
      }

      &::before {
        background-color: #000;
        border-radius: 5rem;
        bottom: 0;
        content: "";
        display: block;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 0;
        transform: scale(.75);
        transition: all .3s ease;
        transition-property: opacity, transform;
        z-index: 1;
      }

      &:hover {
        &::before {
          opacity: 1;
          transform: scale(1);
        }
      }
    }

    .share {
      display: flex;
      align-items: center;

      a {
        margin-left: 21/$f+vw;

        svg {
          width: 20/$f+vw;
          display: block;

          path {
            transition: all 600ms;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }

  .foot {
    padding: 30px 5% 35px 5%;

    .dom1 {
      .l {
        width: 100%;
        text-align: center;

        .pic {
          margin: 5px 0 0 0;

          img {
            width: 60px;
            margin: auto;
          }
        }

        .des {
          font-size: 14px;
          margin: 25px 0 0 0;

          p {
            margin: 0 0 5px;
          }
        }
      }

      .r {
        display: none;
      }
    }

    .dom2 {
      padding: 0;
      margin: 25px 0 0 0;
      flex-direction: column;

      .l {
        font-size: 14px;
      }

      #goTop {
        display: none;
      }

      .share {
        margin: 22px 0 0 0;

        a {
          margin: 0 30px 0 0;

          &:last-child {
            margin: 0;
          }

          svg {
            width: 20px;
          }
        }
      }
    }
  }
}